<div class="box">
  <div class="box-heading">Thể loại</div>
  <div class="box-content">
    <ul class="box-category">
      <li> <a href="category.html" class="active">Trang phục dành cho bé gái (4)</a>
        <ul>
         a
        </ul>
      </li>
      <li> <a href="category.html" class="active">Trang phục dành cho bé trai (4)</a>
        <ul>
         a
        </ul>
      </li>
    </ul>
  </div>
</div>
<div class="box">
  <div>
    <h1 class="title_module"><span>Nổi bật</span></h1>
    <div class="box-content"> {foreach $list_product as $k=>$product}
      <div class="box-product"> <a class="image" href="/{$product.category_alias}/{$product.alias}.html" title="{$product.title}"> <img src="/upload/product/{$product.day_time|date_format:'%m-%Y'}/{$product.image}" alt="{$product.name}"> </a>
        <h3 class="name"><a href="/{$product.category_alias}/{$product.alias}.html" title="{$product.title}">{$product.name}</a></h3>
        {if $product.price_old !=0}
        <p class="wrap_price"> <span class="price-old"> Giá cũ : {number_format($product.price_old)} VNĐ</span> </p>
        {/if}
        <p class="wrap_price"> <span class="price-new"> Giá mới :{number_format($product.price_new)} VNĐ</span> </p>
        <p class="submit">
          <input type="button" value="Add to Cart" class="button">
        </p>
      </div>
      {/foreach} </div>
  </div>
</div>
<div class="clear"></div>
<div class="box">
  <div>
    <h1 class="title_module"><span>Khuyến mãi</span></h1>
    <div class="box-content"> {foreach $list_product as $product}
      {if $product.price_old != 0}
      <div class="box-product"> <a class="image" href="/{$product.category_alias}/{$product.alias}.html" title="{$product.title}"> <img src="/upload/product/{$product.day_time|date_format:'%m-%Y'}/{$product.image}" alt="{$product.name}"> </a>
        <h3 class="name"><a href="/{$product.category_alias}/{$product.alias}.html" title="{$product.title}">{$product.name}</a></h3>
        {if $product.price_old !=0}
        <p class="wrap_price"> <span class="price-old"> Giá cũ : {number_format($product.price_old)} VNĐ</span> </p>
        {/if}
        <p class="wrap_price"> <span class="price-new"> Giá mới :{number_format($product.price_new)} VNĐ</span> </p>
        <p class="submit">
          <input type="button" value="Add to Cart" class="button">
        </p>
      </div>
      {/if}
      {/foreach} </div>
  </div>
</div>
<div class="clear"></div>
